
package jermedit;

import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import jermedit.gobjekte.LineObject;
import jermedit.gobjekte.Generalization;


/**
 * Making JFrame without the use of NetBeans help for tests 
 * @author Hr
 */
public class TestJpanel {
    public static void main(String[] args) {
        JFrame testframe = new JFrame();
        JPanel testpanel = new JPanel();
        testpanel.setPreferredSize(new Dimension(400,400));
        JScrollPane testpane = new JScrollPane(testpanel);
        testframe.add(testpane);
        testframe.pack();
        testframe.setVisible(true);
        LineObject test = new Generalization(20,30,300,300); 
        
        
         
    }
}
